projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afcc5c3
)
Don't call mkshort twice for ANYNAME. Fix for Rick.
author
robertl
<robertl>
Wed, 21 May 2003 02:14:49 +0000
(
02:14
+0000)
committer
robertl
<robertl>
Wed, 21 May 2003 02:14:49 +0000
(
02:14
+0000)
csv_util.c
patch
|
blob
|
history
diff --git
a/csv_util.c
b/csv_util.c
index f9ef0481455a2f74f84c516c4778bb11ce110089..a89bcfe37ed73381a5367cbd80504fa2c9a2883a 100644
(file)
--- a/
csv_util.c
+++ b/
csv_util.c
@@
-639,10
+639,7
@@
xcsv_waypt_pr(const waypoint *wpt)
anyname = xstrdup("");
if ((anyname) && (global_opts.synthesize_shortnames)) {
- char *oldname = anyname;
- anyname = mkshort(xcsv_file.mkshort_handle,
- wpt->notes ? wpt->notes : wpt->description);
- xfree(oldname);
+ anyname = xstrdup(shortname);
}
sprintf(buff, fmp->printfc, anyname);